package com.carbon.notice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.carbon.notice.mapper.QuestionAnswerInfoMapper;
import com.carbon.notice.entity.QuestionAnswerInfo;
import com.carbon.notice.service.QuestionAnswerInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class QuestionAnswerInfoServiceImpl extends ServiceImpl<QuestionAnswerInfoMapper, QuestionAnswerInfo> implements QuestionAnswerInfoService {

    @Resource
    private QuestionAnswerInfoMapper questionAnswerInfoMapper;

    @Override
    public List<QuestionAnswerInfo> queryPage(QuestionAnswerInfo questionAnswerInfo) {
        return questionAnswerInfoMapper.queryPage(questionAnswerInfo);
    }
}
